package 剑指offer;

/**
 * @author zhangjunfei
 * @date 2023/8/30 16:34
 */
public class O_58_02 {
    public String reverseLeftWords(String s, int n) {
        String substring = s.substring(0, n + 1);
        return s.substring(n, s.length()) + substring;
    }
}
